package com.campus.backend.bean.delivery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 配送员审核Bean
 */
@Data
@ApiModel("配送员审核Bean")
public class DeliveryAuditBean {

    @ApiModelProperty(value = "申请ID", required = true)
    @NotNull(message = "申请ID不能为空")
    private Long id;

    @ApiModelProperty(value = "审核状态：1-通过，2-拒绝", required = true)
    @NotNull(message = "审核状态不能为空")
    private Integer status;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;
}